#ifndef __DS_COMMON_H__
#define __DS_COMMON_H__

#include <stdbool.h>
typedef unsigned long size_t;

#ifndef DATA_VAL
#define DATA_VAL
typedef void *PData_Val;
typedef const void *CPData_Val;

#define data_int(PData)         *(int *)PData
#define data_long(PData)        *(long *)PData
#define data_float(PData)       *(float*)PData
#define data_double(PData)      *(double*)PData
#define data_char(PData)        *(char*)PData
#define data_string(PData)      (char*)PData
#define data_long_long(PData)   *(long long*)PData

#endif//DATA_VAL

#endif//__DS_COMMON_H__